Skip to content

#26 feat: add multiple font family selection#44

Open
ikorich wants to merge 2 commits intodevelopfrom
feature/26-font-family-selection
Open

#26 feat: add multiple font family selection#44
ikorich wants to merge 2 commits intodevelopfrom
feature/26-font-family-selection

Conversation

@ikorich
Copy link
Member

@ikorich ikorich commented Jan 27, 2026

Summary

  • Add support for multiple monospace font families
  • Users can choose between SF Mono, Menlo, Monaco, and Courier New
  • Font selection persists via @AppStorage

Changes

  • Add FontFamily enum in SettingsTypes.swift with font creation helper
  • Add font picker UI to ToolBarView in Code Style section
  • Update CodeEditorView to use selected font family with editor recreation
  • Update ContentView export pipeline to use selected font metrics

Test plan

  • Open app, verify SF Mono is default
  • Change font to Menlo, verify editor updates
  • Change font to Monaco, verify editor updates
  • Change font to Courier New, verify editor updates
  • Export image, verify font metrics are correct
  • Restart app, verify font selection persists

Closes #26

Add support for SF Mono, Menlo, Monaco, and Courier New fonts:
- Add FontFamily enum in SettingsTypes.swift with font creation
- Add font picker UI to ToolBarView in Code Style section
- Update CodeEditorView to use selected font family
- Update ContentView export to use selected font metrics
@ikorich ikorich changed the base branch from master to develop January 27, 2026 14:26
@ikorich ikorich closed this Jan 31, 2026
@ikorich ikorich deleted the feature/26-font-family-selection branch January 31, 2026 09:08
@ikorich ikorich restored the feature/26-font-family-selection branch January 31, 2026 11:35
@ikorich ikorich reopened this Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add multiple font family selection

1 participant